using System;
using Utilities.LinkedList;

namespace InsertionSortList
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] numbers = new[] {4, 2, 1, 3};
            var nodes = LinkedListUtility.Create(numbers);
            LinkedListUtility.Print(nodes);
            var nodeList = new Solution().InsertionSortList(nodes);
            LinkedListUtility.Print(nodeList);
        }
    }
}